package com.wdj.creation.factorymethod;

import com.wdj.creation.factorymethod.entity.Logger;
import com.wdj.creation.factorymethod.entity.LoginLogger;
import com.wdj.creation.factorymethod.factory.AbstractFactory;
import com.wdj.creation.factorymethod.factory.LoginLoggerFactory;

/**
 * @ClassName Client
 * @Description
 * @Author wdj
 * @Date 2020/8/9 17:24
 * @Version 1.0
 **/
public class Client {
    public static void main(String[] args) {
        AbstractFactory abstractFactory;
        Logger logger;
        abstractFactory = new LoginLoggerFactory();
        logger = abstractFactory.createLogger();
        logger.outLogger();
    }
}
